package com.zhaodui.restapi.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class fxjMenuEntity {


    /**
     * id : 6865ca7b4366484a8194543e05444420
     * parentId : 4ab41486cc4946a6bdde8ffcfc5e1619
     * children : [{"id":"9d9ea086ce3f49ce980f8f6fbecdb522","parentId":"6865ca7b4366484a8194543e05444420","children":[],"text":"首页","i18n":"home","group":false,"link":"/home","icon":"anticon anticon-home","badge":0,"badge_dot":false,"orderNum":0},{"id":"b598c9cfaa1848efa5539783ebd77ba0","parentId":"6865ca7b4366484a8194543e05444420","children":[{"id":"d609e7be001e43b591d0fd1283043e1f","parentId":"b598c9cfaa1848efa5539783ebd77ba0","children":[],"text":"一级客户","i18n":"levelone","group":false,"link":"/admin/agents","badge":0,"badge_dot":false,"orderNum":0},{"id":"b6656045d09a45e2b65b783363c8b20e","parentId":"b598c9cfaa1848efa5539783ebd77ba0","children":[],"text":"二级用户","i18n":"leveltwo","group":false,"link":"/admin/clients","badge":0,"badge_dot":false,"orderNum":1},{"id":"0fcdcb1e85ef4431a45469e8492ad5e2","parentId":"b598c9cfaa1848efa5539783ebd77ba0","children":[],"text":"三级用户","i18n":"levelthird","group":false,"link":"/admin/shops","badge":0,"badge_dot":false,"orderNum":3}],"text":"用户","i18n":"user","group":false,"icon":"anticon anticon-user","badge":0,"badge_dot":false,"orderNum":1},{"id":"016e29accc3341438dc6cd61320c1dc6","parentId":"6865ca7b4366484a8194543e05444420","children":[{"id":"87ce45a1250b4cb88d4a58b6bb5c7790","parentId":"016e29accc3341438dc6cd61320c1dc6","children":[],"text":"产品资料","i18n":"product-info","group":false,"link":"/prod/product","badge":0,"badge_dot":false,"orderNum":0}],"text":"产品","i18n":"product","group":false,"icon":"anticon anticon-bulb","badge":0,"badge_dot":false,"orderNum":2}]
     * text : 基本资料
     * i18n : sms_base
     * group : false
     * badge : 0
     * badge_dot : false
     * orderNum : 0
     */

    @SerializedName("id")
    private String id;
    @SerializedName("parentId")
    private String parentId;
    @SerializedName("text")
    private String text;
    @SerializedName("i18n")
    private String i18n;
    @SerializedName("group")
    private boolean group;
    @SerializedName("badge")
    private String badge;


    @SerializedName("badge_dot")
    private boolean badgeDot;
    @SerializedName("orderNum")
    private String orderNum;
    @SerializedName("children")
    private List<ChildrenBean> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getI18n() {
        return i18n;
    }

    public void setI18n(String i18n) {
        this.i18n = i18n;
    }

    public boolean isGroup() {
        return group;
    }

    public void setGroup(boolean group) {
        this.group = group;
    }

    public String getBadge() {
        return badge;
    }

    public void setBadge(String badge) {
        this.badge = badge;
    }

    public boolean isBadgeDot() {
        return badgeDot;
    }

    public void setBadgeDot(boolean badgeDot) {
        this.badgeDot = badgeDot;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }



    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean {
        /**
         * id : 9d9ea086ce3f49ce980f8f6fbecdb522
         * parentId : 6865ca7b4366484a8194543e05444420
         * children : []
         * text : 首页
         * i18n : home
         * group : false
         * link : /home
         * icon : anticon anticon-home
         * badge : 0
         * badge_dot : false
         * orderNum : 0
         */

        @SerializedName("id")
        private String id;
        @SerializedName("parentId")
        private String parentId;
        @SerializedName("text")
        private String text;
        @SerializedName("i18n")
        private String i18n;
        @SerializedName("group")
        private boolean group;
        @SerializedName("link")
        private String link;
        @SerializedName("icon")
        private String icon;
        @SerializedName("badge")
        private String badge;
        @SerializedName("badge_dot")
        private boolean badgeDot;
        @SerializedName("orderNum")
        private String orderNum;
        @SerializedName("children")
        private List<?> children;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getI18n() {
            return i18n;
        }

        public void setI18n(String i18n) {
            this.i18n = i18n;
        }

        public boolean isGroup() {
            return group;
        }

        public void setGroup(boolean group) {
            this.group = group;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getBadge() {
            return badge;
        }

        public void setBadge(String badge) {
            this.badge = badge;
        }

        public boolean isBadgeDot() {
            return badgeDot;
        }

        public void setBadgeDot(boolean badgeDot) {
            this.badgeDot = badgeDot;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        public List<?> getChildren() {
            return children;
        }

        public void setChildren(List<?> children) {
            this.children = children;
        }
    }
}
